package cn.lutu.lutu.mapper;

import cn.lutu.lutu.pojo.entity.User;
import cn.lutu.lutu.pojo.vo.UserVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {

    UserVO selectByUserName(String userName);

    int insert(User user);

    int update(User user);

    List<UserVO> selectById(Long id);

    UserVO selectByEmail(String email);

    UserVO selectByPassword(String password);


}
